Image of Pre-Image is Subset of Set

Image of Pre-Image is Subset of Set

For f:XY and BY

f(f1(B))B

and in particular

f(f1(B))=BBYf is surjective

Intuitively, if we take the set of things that map into B (f(f1(B))), and apply the map to them, those things will all be in B. However if B contains elements which have no corresponding input under f, then those elements will not be in f(f1(B)).

Proof

For the first part, we have that

xf(f1(B))yf1(B),f(y)=xy,f(y)B,f(y)=xxB

We will now prove the second result, applied to a function f:XY where BY. First, consider, by unravelling definitions that because

f1(B)={xX:f(x)B}

and

f(f1(B))={f(y):yf1(B)}

we have by substitution of the first into the second and some simplification that

f(f1(B))={f(y):y{xX:f(x)B}}={f(y):yXandf(y)B}={f(y)B:yX}.

Now, if f is surjective then clearly this is equal to B, as for every element in B there is a y such that f(y)=B.

On the flipside, if the above is equal to B for any B, then for B=Y we have that

Y={f(y)Y:yX}={f(y):yX}=f(X)

which is the definition of surjectivity.